package com.greenhouse.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.greenhouse.common.annotation.Excel;
import com.greenhouse.common.core.domain.BaseEntity;

/**
 * group_alarm对象 biz_group_alarm
 * 
 * @author greenhouse
 * @date 2021-05-09
 */
public class BizGroupAlarm extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 报警id */
	private Long alarmId;

	/** 报警名称 */
	@Excel(name = "报警名称")
	private String alarmName;

	/** 大棚id */
	@Excel(name = "大棚id")
	private Long groupId;

	/** 属性id */
	@Excel(name = "属性id")
	private Long attributeId;

	/** $column.columnComment */
	@Excel(name = "属性id")
	private String attributeName;

	/** 属性名称 */
	@Excel(name = "属性名称")
	private String attributeCode;

	/** 比较符 */
	@Excel(name = "比较符")
	private String type;

	/** 大小 */
	@Excel(name = "大小")
	private Long value;

	/** 设备id */
	@Excel(name = "设备id")
	private Long deviceId;

	/** 设备名称 */
	@Excel(name = "设备名称")
	private String deviceName;

	/** $column.columnComment */
	@Excel(name = "设备id")
	private String searchValue;

	public void setAlarmId(Long alarmId) {
		this.alarmId = alarmId;
	}

	public Long getAlarmId() {
		return alarmId;
	}

	public void setAlarmName(String alarmName) {
		this.alarmName = alarmName;
	}

	public String getAlarmName() {
		return alarmName;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Long getGroupId() {
		return groupId;
	}

	public void setAttributeId(Long attributeId) {
		this.attributeId = attributeId;
	}

	public Long getAttributeId() {
		return attributeId;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeCode(String attributeCode) {
		this.attributeCode = attributeCode;
	}

	public String getAttributeCode() {
		return attributeCode;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setValue(Long value) {
		this.value = value;
	}

	public Long getValue() {
		return value;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public Long getDeviceId() {
		return deviceId;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setSearchValue(String searchValue) {
		this.searchValue = searchValue;
	}

	public String getSearchValue() {
		return searchValue;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("alarmId", getAlarmId())
				.append("alarmName", getAlarmName()).append("groupId", getGroupId())
				.append("attributeId", getAttributeId()).append("attributeName", getAttributeName())
				.append("attributeCode", getAttributeCode()).append("type", getType()).append("value", getValue())
				.append("deviceId", getDeviceId()).append("updateTime", getUpdateTime())
				.append("searchValue", getSearchValue()).append("createBy", getCreateBy())
				.append("updateBy", getUpdateBy()).append("remark", getRemark()).append("createTime", getCreateTime())
				.toString();
	}
}
